<?php

namespace app\adaptor;

class ObjectAdaptor implements Itarget
{
    private $adaptee;

    public function __construct(Adaptee $adaptee)
    {
        $this->adaptee = $adaptee;
    }

    public function f1()
    {
        $this->adaptee->fa();
    }

    public function f2()
    {
        echo 'this is objAdaptor f2' . PHP_EOL;
    }

    public function fc()
    {
        $this->adaptee->fc();
    }
}
